<?php
/**
 * Created by PhpStorm.
 * User: sks
 * Date: 2015/12/15
 * Time: 13:49
 */

class Involved_FactoringCompanyModel extends BaseModel{

    protected $table = 'factoring_company';

    public function FactCompany()
    {
        return DB::table($this->table)
            ->select('id','f_company_name')
            ->get();
    }


    public function FCompanyList()
    {
        return DB::table($this->table)
            ->select()
            ->get();
    }

    public function GetFCompanyId($id)
    {
        return DB::table($this->table)
            ->select()
            ->where('id',$id)
            ->first();
    }

}